home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-04-18 | 2.6 KB | 94 lines | [TEXT/MPS ] |
- ;
- ; File: TSMTE.a
- ;
- ; Contains: Text Services Managerfor TextEdit Interfaces.
- ;
- ; Version: Technology: System 7.5
- ; Package: Universal Interfaces 2.1ß1 in “MPW Prerelease” on ETO #17
- ;
- ; Copyright: © 1984-1995 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, use the Apple Bug Reporter
- ; stack. Include the file and version information (from above)
- ; in the problem description and send to:
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TSMTE__') = 'UNDEFINED' THEN
- __TSMTE__ SET 1
-
-
- IF &TYPE('__TEXTEDIT__') = 'UNDEFINED' THEN
- include 'TextEdit.a'
- ENDIF
- ; include 'Types.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'Quickdraw.a' ;
- ; include 'MixedMode.a' ;
- ; include 'QuickdrawText.a' ;
-
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- ; include 'Errors.a' ;
- ; include 'Memory.a' ;
- ; include 'Windows.a' ;
- ; include 'Events.a' ;
- ; include 'OSUtils.a' ;
- ; include 'Controls.a' ;
- ; include 'Menus.a' ;
-
- IF &TYPE('__APPLEEVENTS__') = 'UNDEFINED' THEN
- include 'AppleEvents.a'
- ENDIF
- ; include 'EPPC.a' ;
- ; include 'AppleTalk.a' ;
- ; include 'Files.a' ;
- ; include 'PPCToolbox.a' ;
- ; include 'Processes.a' ;
- ; include 'Notification.a' ;
-
- IF &TYPE('__TEXTSERVICES__') = 'UNDEFINED' THEN
- include 'TextServices.a'
- ENDIF
- ; include 'Components.a' ;
-
- kTSMTESignature EQU 'tmTE'
- kTSMTEInterfaceType EQU 'tmTE'
- kTSMTEDialog EQU 'tmDI'
-
-
- gestaltTSMTEAttr EQU 'tmTE'
- gestaltTSMTEPresent EQU 0
- gestaltTSMTE EQU 0 ; gestaltTSMTE is old name for gestaltTSMTEPresent
-
- gestaltTSMTEVersion EQU 'tmTV'
- gestaltTSMTE1 EQU $100
-
- kTSMTEAutoScroll EQU 1
-
- ; callback procedure definitions
- TSMTERec RECORD 0
- textH ds.l 1 ; offset: $0 (0)
- preUpdateProc ds.l 1 ; offset: $4 (4)
- postUpdateProc ds.l 1 ; offset: $8 (8)
- updateFlag ds.l 1 ; offset: $C (12)
- refCon ds.l 1 ; offset: $10 (16)
- sizeof EQU * ; size: $14 (20)
- ENDR
-
- ; typedef struct TSMTERec TSMTERec, *TSMTERecPtr, **TSMTERecHandle
- TSMDialogRecord RECORD 0
- fDialog ds DialogRecord ; offset: $0 (0)
- fDocID ds.l 1 ; offset: $AA (170)
- fTSMTERecH ds.l 1 ; offset: $AE (174)
- fTSMTERsvd ds.l 3 ; offset: $B2 (178) ; reserved
- sizeof EQU * ; size: $BE (190)
- ENDR
-
- ; typedef struct TSMDialogRecord TSMDialogRecord, *TSMDialogPeek
- ENDIF ; __TSMTE__
-